Carbon


InitGraf

Header: Quickdraw.h Carbon status: Unsupported

Initializes QuickDraw.

void InitGraf (
    void *globalPtr
);
Parameter descriptions
globalPtr

A pointer to the global variable thePort, which from C can be passed as &thePort.

DISCUSSION

Use the InitGraf function before initializing any other Toolbox managers, such as the Menu Manager and Window Manager. The InitGraf function initializes the global variables listed below. The InitGraf function also initializes Color QuickDraw on computers with Color QuickDraw capabilities.

The InitGraf function may move or purge memory blocks in the application heap. Your application should not call this function at interrupt time.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)